package com.by.service.Impl;

import com.by.mapper.UserMapper;
import com.by.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    @Override
    public int checkUser(String account) {
        int i =userMapper.queryUserByUserName(account);
        return i;
    }
}
